import request from '@/utils/request';

//新增
export function feedbackAdd(data) {
  return request({
    url: 'feedback/saveFeedback',
    method: 'post',
    data
  });
}

//删除
export function feedbackDelete(data) {
  return request({
    url: 'feedback/deleteFeedback',
    method: 'delete',
    data
  });
}

//修改
export function feedbackEdit(data) {
  return request({
    url: 'feedback/updateFeedback',
    method: 'put',
    data
  });
}




export default {
  feedbackAdd,
  feedbackEdit,
  feedbackDelete,
};
